Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable list and transfer & remove migration legacy #1236

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Index0011
Copy link
Contributor

@Index0011 Index0011 commented Apr 11, 2023

Changes
1.Rebuild the rmrk-pre_check and rmrk-post_transfer hook functions.
pre_check:

  1. Ensure the transferred Nft is belong to the delegation collections.
  2. Under condition 1), ensure the sender and recipient have no Nft listed in related collection.
  3. Under condition 2), ensure the sender has free value larger than the transferring Nft has.

post_check:
Merge recipient's Nfts in related collection after the transfer.

2.Forbid any status change of a user's Nft in a pool that the Nft is listed including contribute, wtihdraw in both stakepools and vault, claim_owner_shares in vault.

3.Remove unused pallet stake_pool and legacy codes for stakepoolv2 migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant